home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / wincattd.zip / WINCATTD.TXT < prev   
Text File  |  1992-06-18  |  14KB  |  287 lines

  1. Windows 3.0 and Dos 5 Setup for Wildcat Test Drive
  2. --------------------------------------------------
  3.  
  4. Revised : 06/16/92
  5.  
  6. Before you start
  7. ------------------
  8.  
  9. This version of Wincattd.txt superceedes all previous versions.  If you
  10. have a previous version, and you find some statements that contradict each
  11. other between the two, believe this one!  (g) It just means that I've
  12. learned something that I didn't know before.  Not an exact science, this
  13. learning process.
  14.  
  15. Also, all responsibility and liability for using these tips rests with the
  16. user.  I will not be held accountable for any kind of damages incured by
  17. you when you use this document.  I will tell you that I have tested these
  18. tips on my machine, and they do work on my machine.  I haven't destroyed
  19. anything yet.  I fully expect them to work on just about any 386 machine
  20. that generally equals or exceedes my configuration.  However, no guarantees
  21. are made.
  22.  
  23. Setting it all up...
  24. --------------------
  25.  
  26. I have run Wildcat Test Drive under Windows 3.x quite successfully.  It
  27. will run on a 386 with 4 Meg of Ram, and MS-Dos 5.0 with ease.  This
  28. document explains my implementation.
  29.  
  30. There are some support files provided with this package:
  31.  
  32. CAT.PIF - This Windows PIF runs CAT.BAT in 386 Enhanced mode under Windows
  33. 3.1.  I set it up to run full screen in background and foreground mode.  I
  34. also set the multi-tasking options to 125,125.  This gives Wildcat the same
  35. percent of CPU time regardless of whether its the forground task or a
  36. background task.  Generally your users will not notice any performance
  37. degradation if you are running another task with Wildcat in background.
  38.  
  39. CAT.BAT - This is the batch file to run Wildcat TD.  Its pretty straight
  40. forward.  It looks very similar to the one that comes from Mustang.
  41.  
  42. WCTD.GRP - This is a program group for the Wildcat MAKEWILD, ADDFILES,
  43. MAKEQUES, FIXMSG, FIXUSERS, FIXFILES, and CONVERT utilities.  You can add this
  44. program group by using the Windows PROGRAM MANAGER FILE option and select
  45. "NEW..." and then select "Program Group".  On the next panel enter whatever
  46. title you choose and then enter C:\WC\WCTD.GRP if you put it in the C:\WC
  47. directory.
  48.  
  49. Some configuration notes:
  50.  
  51. For Dos:
  52. ---------
  53.  
  54. Here is my config.sys file for Dos 5:
  55.  
  56. FILES=40
  57. buffers=99,8
  58. device=C:\dos\himem.sys
  59. device=c:\WINDOWS\EM386.EXE noems
  60. rem device=c:\dos\EM386.EXE 1024 d=48 ram
  61. DOS=high,umb
  62. DEVICEhigh=c:\DOS\ansi.sys
  63. devicehigh=C:\dos\smartdrv.sys 1024 512
  64. stacks=0,0
  65. lastdrive=d
  66.  
  67. Some quick notes here - The d=48 on the EMM386 line.  This increases the
  68. size of the DMA buffer used to communicate with the EMS and UMB areas.  It
  69. speeds everything up, and may allow you to run some applications under
  70. Windows that wouldn't run otherwise, like Fastback 2.x.  Also, the 99,8 on
  71. the buffers line.  Even though the Windows book says you can get by with as
  72. little as 10 buffers with Smartdrive in place, I found this not to be true.
  73. I multi task a lot of Dos applications, and some of them just won't go
  74. without a goodly amount of buffers.  Besides, Windows REALLY took off when
  75. I maxed the buffers!  The ,8 enables "look ahead" buffers for disk access,
  76. and should always be included.  This option first appeard in IBM PC-Dos 3.3
  77. (undocumented) and was also in some versions of Dos 4.0.  Ms-Dos 5.0 should
  78. have it in all versions.  It does quite a job in speeding up disk access,
  79. especially when you have older, slower components.  The EMM386 line that is
  80. currently used is for Windows 3.1, the one commented out is for 3.0.
  81.  
  82. Here is my autoexec.bat file for Windows and Wildcat:
  83.  
  84. @echo off
  85. cls
  86. path=c:\;c:\dos;C:\WINDOWS;c:\mouse;c:\fastback;d:\wildcat;d:\wildcat\protocol
  87. set fastback=c:\fastback
  88. set TEMP=c:\temp
  89. set TMP=c:\temp
  90. loadhigh share /f:4096 /l:40
  91. prompt $v$_$p$g
  92. win /3
  93.  
  94.  
  95. Notice the LOADHIGH SHARE line.  Be sure to ALWAYS load SHARE when in a
  96. multi-tasking environent.  When running Wildcat 3, be sure to provide 40
  97. locks because Wildcat can have up to 40 files open at once.  And, since
  98. you're doubling the number of locks over the default of 20, its best to do
  99. the same to the area to hold those locks, hence, the /f:4096 switch.
  100.  
  101. A quick note on the WIN command line.  I put the /3 on there just to be
  102. sure that Windows always starts up in 386 Enhanced Mode, or dies in the
  103. attempt.  Even though Win is smart enough to determine startup mode by
  104. itself, based on machine configuration, I take no chances.  If for some odd
  105. reason Windows comes up in Standard Mode (like on a 286, or a 386/486 with
  106. only 1 meg of ram), then it only multi-tasks Windows aplications.  Wildcat
  107. is a Dos application, so if you switch away from Wildcat in Standard Mode,
  108. it freezes.  Not good for the caller on the other end of the line!
  109.  
  110. If you've seen previous versions of this file, I used to have CAT.BAT on
  111. the WIN /3 line.  If you really want to run Wildcat in a window, this is
  112. the only way I know of to make Wildcat start up properly.  If you run
  113. Wildcat in full screen mode, by setting the correct PIF option, you can
  114. start Wildcat a different way.  Put CAT.PIF in your WIN.INI file, on the
  115. RUN= line in WIN.INI to run non-minimized.  This brings Wildcat up on your
  116. screen immediately on Windows startup.
  117.  
  118.  
  119. For Windows
  120. ------------
  121.  
  122. First (and foremost) the PIF!
  123.  
  124. If there's a heart to Windows, the Program Information File is it.  The
  125. options you set in the PIF will determine whether an application runs well,
  126. poorly, or not at all!  Yes, the book says you can run programs without
  127. defining a PIF, but in that case, Windows will use either its default
  128. internal settings (from the Control Panel) or the settings in _DEFAULT.PIF.
  129. So either way, your program WILL be using a PIF of some sort.  Might as
  130. well take a few minutes and create a PIF that matches your program's
  131. operation as much as possible.  You'll get the most out of it (your program
  132. AND Windows) that way!  The PIF included is a Win 3.1 PIF.  You may have to
  133. load it into the Win 3.0 PIF editor and save it to convert it back to Win
  134. 3.0 format.
  135.  
  136. CAT.PIF in detail: (start the PIF editor and look at CAT.PIF if you want)
  137.  
  138. First screen of the PIF editor - The first few boxes pretty much explain
  139. themselves.  CAT.BAT tells Windows what file you're going to run, Wildcat
  140. Test Drive names the icon when its on the screen, and the directory tells
  141. Windows where to find CAT.BAT.  The next few items get interesting.  Here's
  142. what they say:
  143.  
  144. There can be 0k free conventional memory to start Wildcat (which means try
  145. to start Wildcat no matter what), and the Dos session that runs Wildcat can
  146. take up to 640k conventional memory (important for Dos shells, doors,
  147. Tomcat, etc.).
  148.  
  149. We are going to run Wildcat full screen, and we want it to run constantly,
  150. even if its in the background.
  151.  
  152. Close the window when Wildcat is shut down.  Always check this box.  No
  153. sense clutering up your screen with inactive items.
  154.  
  155.  
  156. Second screen of the PIF editor (Advanced Options)
  157.  
  158. Multi-tasking Options:  The default priorities are 50 and 100.  I set them
  159. to 125,125, so that Wildcat will get the same precentage of system
  160. resources regardless of whether its running foreground or background.
  161. Exactly what the percentage will be is hard to determine, since it will
  162. depend on what other tasks are running with Wildcat, whether they are
  163. Windows or Dos applications (because of the way Windows does time slicing)
  164. and what forground / background priorities they have.  The important thing
  165. is that Wildcat always needs to get its fair share of time, while not
  166. slowing your work down too awfully much at the keyboard.  This is why
  167. Detect Idle Time is set, so Wildcat will return resources to the system
  168. while he's not doing anything (like while the caller is reading a message
  169. or looking at a list of files).  All of your other PIFs should have Detect
  170. set on too, so they can give resources to Wildcat when THEY aren't busy.  
  171. Memory Options:  These should be set to 0, because Wildcat TD doesn't use
  172. XMS or EMS memory.  Also, the LOCK options for XMS / EMS should not be
  173. checked.  I set the High Memory option mainly because the Windows book
  174. suggested it.  It supposedly will free up some more conventional memory in
  175. the Wildcat session, and since TD doesn't swap out of memory when external
  176. protocols are useed, you will need all the space you can get.  Notice also
  177. that I set the LOCK APPLICATION MEMORY option.  This ensures that all of
  178. Wildcat is in main memory at all times.  Remember, Wildcat doesn't swap out
  179. to disk, but Windows will do it for you if you allow it.  This is VERY
  180. important for any communications type program.  Even though it takes only a
  181. few milliseconds to swap a program page in from disk, a comm program or BBS
  182. just can't afford the time to wait.  So lock Wildcat in and let everything
  183. else swap around it.  It will cost you memory, and maybe some speed on
  184. other tasks, but when the modem speaks, Wildcat just HAS to be there with
  185. an answer.  If locking Wildcat in memory really kills your system's
  186. performance, about all I can suggest is another meg or two of memory.
  187. Sorry, fortunes of war.
  188.  
  189. Video Options:  Its VERY IMPORTANT that you set Low Graphics here.  Even
  190. though Wildcat TD doesn't have the capability to run in VGA mode, we don't
  191. want Windows thinking it can.  Remember - Windows 3.0 will only run a
  192. high-res graphics application as a full-screen, forground task.  If you try
  193. to put high-res stuff in background or in a window, you get that neat
  194. little Windows message about the application being frozen untill you switch
  195. back to it.  Once again, not good for the poor person hanging on the other
  196. end of the phone line.
  197.  
  198. Also, don't select any of the Monitor Ports options.  You'll just slow down
  199. BBS operations, because Windows will be in there port checking every time a
  200. local screen update is made.  Select Emulate Text.  It should speed up the
  201. display.
  202.  
  203. Other Options:  I left this section set at the defaults.  Fast paste is ok,
  204. but I wouldn't allow closing the window while Wildcat is active.  Never
  205. tried it myself, but I'm a little nervous about letting Windows close a Dos
  206. application.  Especially if it has lots of files open.  I defined the
  207. CTRL-Q shortcut key to switch directly to Wildcat.  You can change them if
  208. you want.
  209.  
  210. Create a Permanent Swap File:  Its always a good idea to do this.  It
  211. speeds up Windows considerably, and saves disk sace.  If you have 8 megs of
  212. memory in your machine, pick a size of 2048 for the swap file.  If you have
  213. only 4 to 6 megs, chose a size of 4096.  Set up the swap file by starting
  214. Windows in Real Mode (WIN /R).  Pick File, then Run.  Enter SWAPFILE for
  215. the program, and don't run minimized.  Pick "create a new swapfile" if you
  216. don't have one already, or "delete and create a swap file" if you want to
  217. reset to my suggested values.  The Swapfile program will pick a value for
  218. the swapfile size, but ignore it and key in the vaules I've suggested
  219. above.  After the swapfile is created, exit the program and restart Windows
  220. in 386 mode.  You will see and increase in speed, AND free disk space!  The
  221. procedure for Win 3.1 is a little different.  See WINCAT31.ZIP for details.
  222.  
  223. For Wildcat
  224. ------------
  225.  
  226. I've pretty much covered this stuff already, but here's a qiuck review:
  227.  
  228. In Makewild:  Set things up like you are going to run in native Dos.  Set
  229. the Video Adapter type to Color.  This will make Wildcat & Windows think
  230. you have a CGA monitor, and force low-res graphics mode.
  231.  
  232. Opertaions:  Wheter you run Wildcat in full-screen mode or a window is up
  233. to you, but there does appear to be some overhead for local screen writes
  234. when Wildcat is windowed.  This seemed to slow down response for callers
  235. with high-speed modems.
  236.  
  237. Be carefull about poking around in the Wildcat direcories while someone is
  238. online.  Share should keep you out of any real trouble, AKA trashed files
  239. and the like, but what happens if you are in a full-screen application,
  240. like a text editor?  You're working on a display screen that Wildcat wants
  241. to send to the caller.  Ooops - sharing violation - but you don't know it,
  242. because your editor has update rights to the file.  The caller doesn't know
  243. it either, because Wildcat is hung up waiting on you to answer the Abort,
  244. Retry, Fail message from Share on the local screen - the local Wildcat
  245. screen - that you can't see, because your editor is in full-screen mode!
  246. Windows will probably alert you that the violation has occured, but don't
  247. always count on it.  When in doubt, shut Wildcat down.
  248.  
  249. Hardware Notes
  250. ---------------
  251.  
  252. Bus Mouse - If you have one of these, you should set the IRQ jumper so it
  253. will use 5 instead of 3. Doing so will allow you to use Com2: for a second
  254. modem or other device. It will make things easier for installing multi-line
  255. Wildcat later, or using a comm program while someone is on line now. DO NOT
  256. use IRQ 1! This causes most systems to generate a false "battery low"
  257. condition, and loose all the CMOS settings (type of hard drive, date/time,
  258. etc.). Not the thing to do...
  259.  
  260. A quick note on Comm Port selection: Unless you have a Micro Channel machine,
  261. don't use Comm 3 or 4 for your modems under Windows unless you absolutly must.
  262. It just works better with comm 1 or 2. Micro Channel Sysops can enable IRQ
  263. sharing in Windows (see the Sysini.wri file) to use these ports properly.
  264.  
  265.  
  266. In Conclusion
  267. --------------
  268.  
  269. That's about it - hope this is of help to some of you. The nice thing about
  270. Wildcat Test Drive is that you don't have nearly as many options to worry
  271. about as version 3. This makes insallation under Windows much easier.
  272. Version 3 isn't all that hard, but TD is easier. If you have any questions,
  273. drop me a note on the MSI BBS or call my board:
  274.  
  275. The Comm * Port BBS
  276. 614-870-6544
  277. HST 14400 non-v32, v42
  278.  
  279. Also, if you find this archive valuable, a donation would be welcomed,
  280. mainly as a thank you for the SEVERAL hours of work I've put in on this
  281. not-so-little project. Send $5 to:
  282.  
  283. Joe Rhinehart
  284. 760 Cherryhurst Dr.
  285. Columbus, Oh 43228
  286.  
  287.